package com.sunnay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunnay.entity.AppUserInfoEntity;
import com.sunnay.vo.auth.LoginAuthVo;
import com.sunnay.vo.auth.LoginVo;
import com.sunnay.vo.auth.SystemUser;
import com.sunnay.vo.user.UserInfoVo;

public interface AppUserInfoService extends IService<AppUserInfoEntity> {
    /**
     * 用户登录
     * @param loginVo
     * @return 用户基础信息
     */
    LoginAuthVo login(LoginVo loginVo);

    /**
     * 用户基本信息
     */
    UserInfoVo userInfo(SystemUser systemUser);
}
